<?php
/***************************************************************
*  Copyright notice
*  (c) 2009, jianyuzhu@gmail.com
*  All rights reserved
*  This script is part of the PPEMI project.
***************************************************************/

//
include_once(CONFIG_PATH . CONFIG_DIR_FUNCTIONS . 'call.function.php');

//
$module = '';
if( isset($_REQUEST['xc']) ) {
	$module = $_REQUEST['xc'];
}

//
switch($module) {
	case 'widget':
		include_once(CONFIG_PATH . 'includes/calls/widget.call.php');
		break;
	case 'box':
		include_once(CONFIG_PATH . 'includes/calls/box.call.php');
		break;
	case 'product':
		include_once(CONFIG_PATH . 'includes/calls/product.call.php');
		break;
	default:
		include_once(CONFIG_PATH . 'includes/calls/home.call.php');
		break;
}
//
?>